Configuration register 0
PARITY | This register is used to configure the parity check mode. 0: even. 1: odd. |
PARITY_EN | Set this bit to enable UART parity check. |
BIT_NUM | This register is used to set the length of data. 0: 5 bits. 1: 6 bits. 2: 7 bits. 3: 8 bits. |
STOP_BIT_NUM | This register is used to set the length of stop bit. 1: 1 bit. 2: 1.5 bits. 3: 2 bits. |
SW_RTS | This register is used to configure the software RTS signal which is used in software flow control. |
SW_DTR | This register is used to configure the software DTR signal which is used in software flow control. |
TXD_BRK | Set this bit to enable the transmitter to send NULL characters when the process of sending data is done. |
IRDA_DPLX | Set this bit to enable IrDA loopback mode. |
IRDA_TX_EN | This is the start enable bit for IrDA transmitter. |
IRDA_WCTL | 1: The IrDA transmitter’s 11th bit is the same as 10th bit. 0: Set IrDA transmitter’s 11th bit to 0. |
IRDA_TX_INV | Set this bit to invert the level of IrDA transmitter. |
IRDA_RX_INV | Set this bit to invert the level of IrDA receiver. |
LOOPBACK | Set this bit to enable UART loopback test mode. |
TX_FLOW_EN | Set this bit to enable flow control function for the transmitter. |
IRDA_EN | Set this bit to enable IrDA protocol. |
RXFIFO_RST | Set this bit to reset the UART RX FIFO. |
TXFIFO_RST | Set this bit to reset the UART TX FIFO. |
RXD_INV | Set this bit to invert the level of UART RXD signal. |
CTS_INV | Set this bit to invert the level of UART CTS signal. |
DSR_INV | Set this bit to invert the level of UART DSR signal. |
TXD_INV | Set this bit to invert the level of UART TXD signal. |
RTS_INV | Set this bit to invert the level of UART RTS signal. |
DTR_INV | Set this bit to invert the level of UART DTR signal. |
CLK_EN | 1: Force clock on for registers. 0: Support clock only when application writes registers. |
ERR_WR_MASK | 1: The receiver stops storing data into FIFO when data is wrong. 0: The receiver stores the data even if the received data is wrong. |
TICK_REF_ALWAYS_ON | This register is used to select the clock. 1: APB_CLK. 0: REF_TICK. |
MEM_CLK_EN | The signal to enable UART RAM clock gating. 1: UART RAM powers on, the data of which can be read and written. 0: UART RAM powers down. |